package com.qk.domain.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author kaoM1Jy
 * @date 2025/10/8 9:33
 * @description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDO {
    private Integer id;

    private String username;

    private String password;

    private String name;

    private String phone;

    private String email;

    private Integer gender;

    private Integer status;

    private Integer deptId;

    private Integer roleId;

    private String image;

    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private String DeptName;
    private String RoleName;

}
